<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="language" content="en" />
        <link href="./assets/ffd55088/css/bootstrap.css" rel="stylesheet">
<link href="./assets/5cf9384a/solarized_light.css" rel="stylesheet">
<link href="./assets/6c54116e/style.css" rel="stylesheet">
<script src="./assets/a44cef0f/jquery.js"></script>
<script src="./assets/ffd55088/js/bootstrap.js"></script>
<script src="./assets/8ac4e28a/jssearch.js"></script>    <title>Application, yii\base\Application - Yii Framework 2.0 API Documentation</title>
</head>
<body>

<div class="wrap">
    <nav id="w2377" class="navbar-inverse navbar-fixed-top navbar" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w2377-collapse"><span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span></button><a class="navbar-brand" href="./index.html">Yii Framework 2.0 API Documentation</a></div><div id="w2377-collapse" class="collapse navbar-collapse"><ul id="w2378" class="navbar-nav nav"><li><a href="./index.html">Class reference</a></li>
<li class="dropdown"><a class="dropdown-toggle" href="#" data-toggle="dropdown">Extensions <b class="caret"></b></a><ul id="w2379" class="dropdown-menu"><li><a href="./ext-apidoc-index.html" tabindex="-1">apidoc</a></li>
<li><a href="./ext-authclient-index.html" tabindex="-1">authclient</a></li>
<li><a href="./ext-bootstrap-index.html" tabindex="-1">bootstrap</a></li>
<li><a href="./ext-codeception-index.html" tabindex="-1">codeception</a></li>
<li><a href="./ext-debug-index.html" tabindex="-1">debug</a></li>
<li><a href="./ext-elasticsearch-index.html" tabindex="-1">elasticsearch</a></li>
<li><a href="./ext-faker-index.html" tabindex="-1">faker</a></li>
<li><a href="./ext-gii-index.html" tabindex="-1">gii</a></li>
<li><a href="./ext-imagine-index.html" tabindex="-1">imagine</a></li>
<li><a href="./ext-jui-index.html" tabindex="-1">jui</a></li>
<li><a href="./ext-mongodb-index.html" tabindex="-1">mongodb</a></li>
<li><a href="./ext-redis-index.html" tabindex="-1">redis</a></li>
<li><a href="./ext-smarty-index.html" tabindex="-1">smarty</a></li>
<li><a href="./ext-sphinx-index.html" tabindex="-1">sphinx</a></li>
<li><a href="./ext-swiftmailer-index.html" tabindex="-1">swiftmailer</a></li>
<li><a href="./ext-twig-index.html" tabindex="-1">twig</a></li></ul></li>
<li><a href="./guide-README.html">Guide</a></li></ul><div class="navbar-form navbar-left" role="search">
  <div class="form-group">
    <input id="searchbox" type="text" class="form-control" placeholder="Search">
  </div>
</div>
</div></nav>
    <div id="search-resultbox" style="display: none;" class="modal-content">
        <ul id="search-results">
        </ul>
    </div>

    
<div class="row">
    <div class="col-md-3">
                <div id="navigation" class="list-group"><a class="list-group-item" href="#navigation-2346" data-toggle="collapse" data-parent="#navigation">Not namespaced classes <b class="caret"></b></a><div id="navigation-2346" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii.html">Yii</a></div>
<a class="list-group-item" href="#navigation-2347" data-toggle="collapse" data-parent="#navigation">yii <b class="caret"></b></a><div id="navigation-2347" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-baseyii.html">BaseYii</a></div>
<a class="list-group-item active" href="#navigation-2348" data-toggle="collapse" data-parent="#navigation">yii\base <b class="caret"></b></a><div id="navigation-2348" class="submenu panel-collapse collapse in"><a class="list-group-item" href="./yii-base-action.html">Action</a>
<a class="list-group-item" href="./yii-base-actionevent.html">ActionEvent</a>
<a class="list-group-item" href="./yii-base-actionfilter.html">ActionFilter</a>
<a class="list-group-item active" href="./yii-base-application.html">Application</a>
<a class="list-group-item" href="./yii-base-arrayaccesstrait.html">ArrayAccessTrait</a>
<a class="list-group-item" href="./yii-base-arrayable.html">Arrayable</a>
<a class="list-group-item" href="./yii-base-arrayabletrait.html">ArrayableTrait</a>
<a class="list-group-item" href="./yii-base-behavior.html">Behavior</a>
<a class="list-group-item" href="./yii-base-bootstrapinterface.html">BootstrapInterface</a>
<a class="list-group-item" href="./yii-base-component.html">Component</a>
<a class="list-group-item" href="./yii-base-configurable.html">Configurable</a>
<a class="list-group-item" href="./yii-base-controller.html">Controller</a>
<a class="list-group-item" href="./yii-base-dynamicmodel.html">DynamicModel</a>
<a class="list-group-item" href="./yii-base-errorexception.html">ErrorException</a>
<a class="list-group-item" href="./yii-base-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-base-event.html">Event</a>
<a class="list-group-item" href="./yii-base-exception.html">Exception</a>
<a class="list-group-item" href="./yii-base-exitexception.html">ExitException</a>
<a class="list-group-item" href="./yii-base-inlineaction.html">InlineAction</a>
<a class="list-group-item" href="./yii-base-invalidcallexception.html">InvalidCallException</a>
<a class="list-group-item" href="./yii-base-invalidconfigexception.html">InvalidConfigException</a>
<a class="list-group-item" href="./yii-base-invalidparamexception.html">InvalidParamException</a>
<a class="list-group-item" href="./yii-base-invalidrouteexception.html">InvalidRouteException</a>
<a class="list-group-item" href="./yii-base-invalidvalueexception.html">InvalidValueException</a>
<a class="list-group-item" href="./yii-base-model.html">Model</a>
<a class="list-group-item" href="./yii-base-modelevent.html">ModelEvent</a>
<a class="list-group-item" href="./yii-base-module.html">Module</a>
<a class="list-group-item" href="./yii-base-notsupportedexception.html">NotSupportedException</a>
<a class="list-group-item" href="./yii-base-object.html">Object</a>
<a class="list-group-item" href="./yii-base-request.html">Request</a>
<a class="list-group-item" href="./yii-base-response.html">Response</a>
<a class="list-group-item" href="./yii-base-security.html">Security</a>
<a class="list-group-item" href="./yii-base-theme.html">Theme</a>
<a class="list-group-item" href="./yii-base-unknownclassexception.html">UnknownClassException</a>
<a class="list-group-item" href="./yii-base-unknownmethodexception.html">UnknownMethodException</a>
<a class="list-group-item" href="./yii-base-unknownpropertyexception.html">UnknownPropertyException</a>
<a class="list-group-item" href="./yii-base-userexception.html">UserException</a>
<a class="list-group-item" href="./yii-base-view.html">View</a>
<a class="list-group-item" href="./yii-base-viewcontextinterface.html">ViewContextInterface</a>
<a class="list-group-item" href="./yii-base-viewevent.html">ViewEvent</a>
<a class="list-group-item" href="./yii-base-viewrenderer.html">ViewRenderer</a>
<a class="list-group-item" href="./yii-base-widget.html">Widget</a></div>
<a class="list-group-item" href="#navigation-2349" data-toggle="collapse" data-parent="#navigation">yii\behaviors <b class="caret"></b></a><div id="navigation-2349" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-behaviors-attributebehavior.html">AttributeBehavior</a>
<a class="list-group-item" href="./yii-behaviors-blameablebehavior.html">BlameableBehavior</a>
<a class="list-group-item" href="./yii-behaviors-sluggablebehavior.html">SluggableBehavior</a>
<a class="list-group-item" href="./yii-behaviors-timestampbehavior.html">TimestampBehavior</a></div>
<a class="list-group-item" href="#navigation-2350" data-toggle="collapse" data-parent="#navigation">yii\caching <b class="caret"></b></a><div id="navigation-2350" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-caching-apccache.html">ApcCache</a>
<a class="list-group-item" href="./yii-caching-arraycache.html">ArrayCache</a>
<a class="list-group-item" href="./yii-caching-cache.html">Cache</a>
<a class="list-group-item" href="./yii-caching-chaineddependency.html">ChainedDependency</a>
<a class="list-group-item" href="./yii-caching-dbcache.html">DbCache</a>
<a class="list-group-item" href="./yii-caching-dbdependency.html">DbDependency</a>
<a class="list-group-item" href="./yii-caching-dependency.html">Dependency</a>
<a class="list-group-item" href="./yii-caching-dummycache.html">DummyCache</a>
<a class="list-group-item" href="./yii-caching-expressiondependency.html">ExpressionDependency</a>
<a class="list-group-item" href="./yii-caching-filecache.html">FileCache</a>
<a class="list-group-item" href="./yii-caching-filedependency.html">FileDependency</a>
<a class="list-group-item" href="./yii-caching-memcache.html">MemCache</a>
<a class="list-group-item" href="./yii-caching-memcacheserver.html">MemCacheServer</a>
<a class="list-group-item" href="./yii-caching-tagdependency.html">TagDependency</a>
<a class="list-group-item" href="./yii-caching-wincache.html">WinCache</a>
<a class="list-group-item" href="./yii-caching-xcache.html">XCache</a>
<a class="list-group-item" href="./yii-caching-zenddatacache.html">ZendDataCache</a></div>
<a class="list-group-item" href="#navigation-2351" data-toggle="collapse" data-parent="#navigation">yii\captcha <b class="caret"></b></a><div id="navigation-2351" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-captcha-captcha.html">Captcha</a>
<a class="list-group-item" href="./yii-captcha-captchaaction.html">CaptchaAction</a>
<a class="list-group-item" href="./yii-captcha-captchaasset.html">CaptchaAsset</a>
<a class="list-group-item" href="./yii-captcha-captchavalidator.html">CaptchaValidator</a></div>
<a class="list-group-item" href="#navigation-2352" data-toggle="collapse" data-parent="#navigation">yii\console <b class="caret"></b></a><div id="navigation-2352" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-console-application.html">Application</a>
<a class="list-group-item" href="./yii-console-controller.html">Controller</a>
<a class="list-group-item" href="./yii-console-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-console-exception.html">Exception</a>
<a class="list-group-item" href="./yii-console-markdown.html">Markdown</a>
<a class="list-group-item" href="./yii-console-request.html">Request</a>
<a class="list-group-item" href="./yii-console-response.html">Response</a></div>
<a class="list-group-item" href="#navigation-2353" data-toggle="collapse" data-parent="#navigation">yii\console\controllers <b class="caret"></b></a><div id="navigation-2353" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-console-controllers-assetcontroller.html">AssetController</a>
<a class="list-group-item" href="./yii-console-controllers-basemigratecontroller.html">BaseMigrateController</a>
<a class="list-group-item" href="./yii-console-controllers-cachecontroller.html">CacheController</a>
<a class="list-group-item" href="./yii-console-controllers-fixturecontroller.html">FixtureController</a>
<a class="list-group-item" href="./yii-console-controllers-helpcontroller.html">HelpController</a>
<a class="list-group-item" href="./yii-console-controllers-messagecontroller.html">MessageController</a>
<a class="list-group-item" href="./yii-console-controllers-migratecontroller.html">MigrateController</a>
<a class="list-group-item" href="./yii-console-controllers-servecontroller.html">ServeController</a></div>
<a class="list-group-item" href="#navigation-2354" data-toggle="collapse" data-parent="#navigation">yii\data <b class="caret"></b></a><div id="navigation-2354" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-data-activedataprovider.html">ActiveDataProvider</a>
<a class="list-group-item" href="./yii-data-arraydataprovider.html">ArrayDataProvider</a>
<a class="list-group-item" href="./yii-data-basedataprovider.html">BaseDataProvider</a>
<a class="list-group-item" href="./yii-data-dataproviderinterface.html">DataProviderInterface</a>
<a class="list-group-item" href="./yii-data-pagination.html">Pagination</a>
<a class="list-group-item" href="./yii-data-sort.html">Sort</a>
<a class="list-group-item" href="./yii-data-sqldataprovider.html">SqlDataProvider</a></div>
<a class="list-group-item" href="#navigation-2355" data-toggle="collapse" data-parent="#navigation">yii\db <b class="caret"></b></a><div id="navigation-2355" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-activequery.html">ActiveQuery</a>
<a class="list-group-item" href="./yii-db-activequeryinterface.html">ActiveQueryInterface</a>
<a class="list-group-item" href="./yii-db-activequerytrait.html">ActiveQueryTrait</a>
<a class="list-group-item" href="./yii-db-activerecord.html">ActiveRecord</a>
<a class="list-group-item" href="./yii-db-activerecordinterface.html">ActiveRecordInterface</a>
<a class="list-group-item" href="./yii-db-activerelationtrait.html">ActiveRelationTrait</a>
<a class="list-group-item" href="./yii-db-aftersaveevent.html">AfterSaveEvent</a>
<a class="list-group-item" href="./yii-db-baseactiverecord.html">BaseActiveRecord</a>
<a class="list-group-item" href="./yii-db-batchqueryresult.html">BatchQueryResult</a>
<a class="list-group-item" href="./yii-db-columnschema.html">ColumnSchema</a>
<a class="list-group-item" href="./yii-db-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-command.html">Command</a>
<a class="list-group-item" href="./yii-db-connection.html">Connection</a>
<a class="list-group-item" href="./yii-db-datareader.html">DataReader</a>
<a class="list-group-item" href="./yii-db-exception.html">Exception</a>
<a class="list-group-item" href="./yii-db-expression.html">Expression</a>
<a class="list-group-item" href="./yii-db-integrityexception.html">IntegrityException</a>
<a class="list-group-item" href="./yii-db-migration.html">Migration</a>
<a class="list-group-item" href="./yii-db-migrationinterface.html">MigrationInterface</a>
<a class="list-group-item" href="./yii-db-query.html">Query</a>
<a class="list-group-item" href="./yii-db-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-queryinterface.html">QueryInterface</a>
<a class="list-group-item" href="./yii-db-querytrait.html">QueryTrait</a>
<a class="list-group-item" href="./yii-db-schema.html">Schema</a>
<a class="list-group-item" href="./yii-db-schemabuildertrait.html">SchemaBuilderTrait</a>
<a class="list-group-item" href="./yii-db-staleobjectexception.html">StaleObjectException</a>
<a class="list-group-item" href="./yii-db-tableschema.html">TableSchema</a>
<a class="list-group-item" href="./yii-db-transaction.html">Transaction</a></div>
<a class="list-group-item" href="#navigation-2356" data-toggle="collapse" data-parent="#navigation">yii\db\cubrid <b class="caret"></b></a><div id="navigation-2356" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-cubrid-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-cubrid-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-cubrid-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-2357" data-toggle="collapse" data-parent="#navigation">yii\db\mssql <b class="caret"></b></a><div id="navigation-2357" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-mssql-pdo.html">PDO</a>
<a class="list-group-item" href="./yii-db-mssql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-mssql-schema.html">Schema</a>
<a class="list-group-item" href="./yii-db-mssql-sqlsrvpdo.html">SqlsrvPDO</a>
<a class="list-group-item" href="./yii-db-mssql-tableschema.html">TableSchema</a></div>
<a class="list-group-item" href="#navigation-2358" data-toggle="collapse" data-parent="#navigation">yii\db\mysql <b class="caret"></b></a><div id="navigation-2358" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-mysql-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-mysql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-mysql-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-2359" data-toggle="collapse" data-parent="#navigation">yii\db\oci <b class="caret"></b></a><div id="navigation-2359" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-oci-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-oci-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-oci-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-2360" data-toggle="collapse" data-parent="#navigation">yii\db\pgsql <b class="caret"></b></a><div id="navigation-2360" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-pgsql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-pgsql-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-2361" data-toggle="collapse" data-parent="#navigation">yii\db\sqlite <b class="caret"></b></a><div id="navigation-2361" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-sqlite-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-sqlite-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-sqlite-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-2362" data-toggle="collapse" data-parent="#navigation">yii\di <b class="caret"></b></a><div id="navigation-2362" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-di-container.html">Container</a>
<a class="list-group-item" href="./yii-di-instance.html">Instance</a>
<a class="list-group-item" href="./yii-di-notinstantiableexception.html">NotInstantiableException</a>
<a class="list-group-item" href="./yii-di-servicelocator.html">ServiceLocator</a></div>
<a class="list-group-item" href="#navigation-2363" data-toggle="collapse" data-parent="#navigation">yii\filters <b class="caret"></b></a><div id="navigation-2363" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-filters-accesscontrol.html">AccessControl</a>
<a class="list-group-item" href="./yii-filters-accessrule.html">AccessRule</a>
<a class="list-group-item" href="./yii-filters-contentnegotiator.html">ContentNegotiator</a>
<a class="list-group-item" href="./yii-filters-cors.html">Cors</a>
<a class="list-group-item" href="./yii-filters-httpcache.html">HttpCache</a>
<a class="list-group-item" href="./yii-filters-pagecache.html">PageCache</a>
<a class="list-group-item" href="./yii-filters-ratelimitinterface.html">RateLimitInterface</a>
<a class="list-group-item" href="./yii-filters-ratelimiter.html">RateLimiter</a>
<a class="list-group-item" href="./yii-filters-verbfilter.html">VerbFilter</a></div>
<a class="list-group-item" href="#navigation-2364" data-toggle="collapse" data-parent="#navigation">yii\filters\auth <b class="caret"></b></a><div id="navigation-2364" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-filters-auth-authinterface.html">AuthInterface</a>
<a class="list-group-item" href="./yii-filters-auth-authmethod.html">AuthMethod</a>
<a class="list-group-item" href="./yii-filters-auth-compositeauth.html">CompositeAuth</a>
<a class="list-group-item" href="./yii-filters-auth-httpbasicauth.html">HttpBasicAuth</a>
<a class="list-group-item" href="./yii-filters-auth-httpbearerauth.html">HttpBearerAuth</a>
<a class="list-group-item" href="./yii-filters-auth-queryparamauth.html">QueryParamAuth</a></div>
<a class="list-group-item" href="#navigation-2365" data-toggle="collapse" data-parent="#navigation">yii\grid <b class="caret"></b></a><div id="navigation-2365" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-grid-actioncolumn.html">ActionColumn</a>
<a class="list-group-item" href="./yii-grid-checkboxcolumn.html">CheckboxColumn</a>
<a class="list-group-item" href="./yii-grid-column.html">Column</a>
<a class="list-group-item" href="./yii-grid-datacolumn.html">DataColumn</a>
<a class="list-group-item" href="./yii-grid-gridview.html">GridView</a>
<a class="list-group-item" href="./yii-grid-gridviewasset.html">GridViewAsset</a>
<a class="list-group-item" href="./yii-grid-serialcolumn.html">SerialColumn</a></div>
<a class="list-group-item" href="#navigation-2366" data-toggle="collapse" data-parent="#navigation">yii\helpers <b class="caret"></b></a><div id="navigation-2366" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-helpers-arrayhelper.html">ArrayHelper</a>
<a class="list-group-item" href="./yii-helpers-basearrayhelper.html">BaseArrayHelper</a>
<a class="list-group-item" href="./yii-helpers-baseconsole.html">BaseConsole</a>
<a class="list-group-item" href="./yii-helpers-basefilehelper.html">BaseFileHelper</a>
<a class="list-group-item" href="./yii-helpers-baseformatconverter.html">BaseFormatConverter</a>
<a class="list-group-item" href="./yii-helpers-basehtml.html">BaseHtml</a>
<a class="list-group-item" href="./yii-helpers-basehtmlpurifier.html">BaseHtmlPurifier</a>
<a class="list-group-item" href="./yii-helpers-baseinflector.html">BaseInflector</a>
<a class="list-group-item" href="./yii-helpers-basejson.html">BaseJson</a>
<a class="list-group-item" href="./yii-helpers-basemarkdown.html">BaseMarkdown</a>
<a class="list-group-item" href="./yii-helpers-basestringhelper.html">BaseStringHelper</a>
<a class="list-group-item" href="./yii-helpers-baseurl.html">BaseUrl</a>
<a class="list-group-item" href="./yii-helpers-basevardumper.html">BaseVarDumper</a>
<a class="list-group-item" href="./yii-helpers-console.html">Console</a>
<a class="list-group-item" href="./yii-helpers-filehelper.html">FileHelper</a>
<a class="list-group-item" href="./yii-helpers-formatconverter.html">FormatConverter</a>
<a class="list-group-item" href="./yii-helpers-html.html">Html</a>
<a class="list-group-item" href="./yii-helpers-htmlpurifier.html">HtmlPurifier</a>
<a class="list-group-item" href="./yii-helpers-inflector.html">Inflector</a>
<a class="list-group-item" href="./yii-helpers-json.html">Json</a>
<a class="list-group-item" href="./yii-helpers-markdown.html">Markdown</a>
<a class="list-group-item" href="./yii-helpers-stringhelper.html">StringHelper</a>
<a class="list-group-item" href="./yii-helpers-url.html">Url</a>
<a class="list-group-item" href="./yii-helpers-vardumper.html">VarDumper</a></div>
<a class="list-group-item" href="#navigation-2367" data-toggle="collapse" data-parent="#navigation">yii\i18n <b class="caret"></b></a><div id="navigation-2367" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-i18n-dbmessagesource.html">DbMessageSource</a>
<a class="list-group-item" href="./yii-i18n-formatter.html">Formatter</a>
<a class="list-group-item" href="./yii-i18n-gettextfile.html">GettextFile</a>
<a class="list-group-item" href="./yii-i18n-gettextmessagesource.html">GettextMessageSource</a>
<a class="list-group-item" href="./yii-i18n-gettextmofile.html">GettextMoFile</a>
<a class="list-group-item" href="./yii-i18n-gettextpofile.html">GettextPoFile</a>
<a class="list-group-item" href="./yii-i18n-i18n.html">I18N</a>
<a class="list-group-item" href="./yii-i18n-messageformatter.html">MessageFormatter</a>
<a class="list-group-item" href="./yii-i18n-messagesource.html">MessageSource</a>
<a class="list-group-item" href="./yii-i18n-missingtranslationevent.html">MissingTranslationEvent</a>
<a class="list-group-item" href="./yii-i18n-phpmessagesource.html">PhpMessageSource</a></div>
<a class="list-group-item" href="#navigation-2368" data-toggle="collapse" data-parent="#navigation">yii\log <b class="caret"></b></a><div id="navigation-2368" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-log-dbtarget.html">DbTarget</a>
<a class="list-group-item" href="./yii-log-dispatcher.html">Dispatcher</a>
<a class="list-group-item" href="./yii-log-emailtarget.html">EmailTarget</a>
<a class="list-group-item" href="./yii-log-filetarget.html">FileTarget</a>
<a class="list-group-item" href="./yii-log-logger.html">Logger</a>
<a class="list-group-item" href="./yii-log-syslogtarget.html">SyslogTarget</a>
<a class="list-group-item" href="./yii-log-target.html">Target</a></div>
<a class="list-group-item" href="#navigation-2369" data-toggle="collapse" data-parent="#navigation">yii\mail <b class="caret"></b></a><div id="navigation-2369" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-mail-basemailer.html">BaseMailer</a>
<a class="list-group-item" href="./yii-mail-basemessage.html">BaseMessage</a>
<a class="list-group-item" href="./yii-mail-mailevent.html">MailEvent</a>
<a class="list-group-item" href="./yii-mail-mailerinterface.html">MailerInterface</a>
<a class="list-group-item" href="./yii-mail-messageinterface.html">MessageInterface</a></div>
<a class="list-group-item" href="#navigation-2370" data-toggle="collapse" data-parent="#navigation">yii\mutex <b class="caret"></b></a><div id="navigation-2370" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-mutex-dbmutex.html">DbMutex</a>
<a class="list-group-item" href="./yii-mutex-filemutex.html">FileMutex</a>
<a class="list-group-item" href="./yii-mutex-mutex.html">Mutex</a>
<a class="list-group-item" href="./yii-mutex-mysqlmutex.html">MysqlMutex</a>
<a class="list-group-item" href="./yii-mutex-pgsqlmutex.html">PgsqlMutex</a></div>
<a class="list-group-item" href="#navigation-2371" data-toggle="collapse" data-parent="#navigation">yii\rbac <b class="caret"></b></a><div id="navigation-2371" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-rbac-assignment.html">Assignment</a>
<a class="list-group-item" href="./yii-rbac-basemanager.html">BaseManager</a>
<a class="list-group-item" href="./yii-rbac-checkaccessinterface.html">CheckAccessInterface</a>
<a class="list-group-item" href="./yii-rbac-dbmanager.html">DbManager</a>
<a class="list-group-item" href="./yii-rbac-item.html">Item</a>
<a class="list-group-item" href="./yii-rbac-managerinterface.html">ManagerInterface</a>
<a class="list-group-item" href="./yii-rbac-permission.html">Permission</a>
<a class="list-group-item" href="./yii-rbac-phpmanager.html">PhpManager</a>
<a class="list-group-item" href="./yii-rbac-role.html">Role</a>
<a class="list-group-item" href="./yii-rbac-rule.html">Rule</a></div>
<a class="list-group-item" href="#navigation-2372" data-toggle="collapse" data-parent="#navigation">yii\rest <b class="caret"></b></a><div id="navigation-2372" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-rest-action.html">Action</a>
<a class="list-group-item" href="./yii-rest-activecontroller.html">ActiveController</a>
<a class="list-group-item" href="./yii-rest-controller.html">Controller</a>
<a class="list-group-item" href="./yii-rest-createaction.html">CreateAction</a>
<a class="list-group-item" href="./yii-rest-deleteaction.html">DeleteAction</a>
<a class="list-group-item" href="./yii-rest-indexaction.html">IndexAction</a>
<a class="list-group-item" href="./yii-rest-optionsaction.html">OptionsAction</a>
<a class="list-group-item" href="./yii-rest-serializer.html">Serializer</a>
<a class="list-group-item" href="./yii-rest-updateaction.html">UpdateAction</a>
<a class="list-group-item" href="./yii-rest-urlrule.html">UrlRule</a>
<a class="list-group-item" href="./yii-rest-viewaction.html">ViewAction</a></div>
<a class="list-group-item" href="#navigation-2373" data-toggle="collapse" data-parent="#navigation">yii\test <b class="caret"></b></a><div id="navigation-2373" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-test-activefixture.html">ActiveFixture</a>
<a class="list-group-item" href="./yii-test-arrayfixture.html">ArrayFixture</a>
<a class="list-group-item" href="./yii-test-baseactivefixture.html">BaseActiveFixture</a>
<a class="list-group-item" href="./yii-test-dbfixture.html">DbFixture</a>
<a class="list-group-item" href="./yii-test-fixture.html">Fixture</a>
<a class="list-group-item" href="./yii-test-fixturetrait.html">FixtureTrait</a>
<a class="list-group-item" href="./yii-test-initdbfixture.html">InitDbFixture</a></div>
<a class="list-group-item" href="#navigation-2374" data-toggle="collapse" data-parent="#navigation">yii\validators <b class="caret"></b></a><div id="navigation-2374" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-validators-booleanvalidator.html">BooleanValidator</a>
<a class="list-group-item" href="./yii-validators-comparevalidator.html">CompareValidator</a>
<a class="list-group-item" href="./yii-validators-datevalidator.html">DateValidator</a>
<a class="list-group-item" href="./yii-validators-defaultvaluevalidator.html">DefaultValueValidator</a>
<a class="list-group-item" href="./yii-validators-eachvalidator.html">EachValidator</a>
<a class="list-group-item" href="./yii-validators-emailvalidator.html">EmailValidator</a>
<a class="list-group-item" href="./yii-validators-existvalidator.html">ExistValidator</a>
<a class="list-group-item" href="./yii-validators-filevalidator.html">FileValidator</a>
<a class="list-group-item" href="./yii-validators-filtervalidator.html">FilterValidator</a>
<a class="list-group-item" href="./yii-validators-imagevalidator.html">ImageValidator</a>
<a class="list-group-item" href="./yii-validators-inlinevalidator.html">InlineValidator</a>
<a class="list-group-item" href="./yii-validators-ipvalidator.html">IpValidator</a>
<a class="list-group-item" href="./yii-validators-numbervalidator.html">NumberValidator</a>
<a class="list-group-item" href="./yii-validators-punycodeasset.html">PunycodeAsset</a>
<a class="list-group-item" href="./yii-validators-rangevalidator.html">RangeValidator</a>
<a class="list-group-item" href="./yii-validators-regularexpressionvalidator.html">RegularExpressionValidator</a>
<a class="list-group-item" href="./yii-validators-requiredvalidator.html">RequiredValidator</a>
<a class="list-group-item" href="./yii-validators-safevalidator.html">SafeValidator</a>
<a class="list-group-item" href="./yii-validators-stringvalidator.html">StringValidator</a>
<a class="list-group-item" href="./yii-validators-uniquevalidator.html">UniqueValidator</a>
<a class="list-group-item" href="./yii-validators-urlvalidator.html">UrlValidator</a>
<a class="list-group-item" href="./yii-validators-validationasset.html">ValidationAsset</a>
<a class="list-group-item" href="./yii-validators-validator.html">Validator</a></div>
<a class="list-group-item" href="#navigation-2375" data-toggle="collapse" data-parent="#navigation">yii\web <b class="caret"></b></a><div id="navigation-2375" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-web-application.html">Application</a>
<a class="list-group-item" href="./yii-web-assetbundle.html">AssetBundle</a>
<a class="list-group-item" href="./yii-web-assetconverter.html">AssetConverter</a>
<a class="list-group-item" href="./yii-web-assetconverterinterface.html">AssetConverterInterface</a>
<a class="list-group-item" href="./yii-web-assetmanager.html">AssetManager</a>
<a class="list-group-item" href="./yii-web-badrequesthttpexception.html">BadRequestHttpException</a>
<a class="list-group-item" href="./yii-web-cachesession.html">CacheSession</a>
<a class="list-group-item" href="./yii-web-compositeurlrule.html">CompositeUrlRule</a>
<a class="list-group-item" href="./yii-web-conflicthttpexception.html">ConflictHttpException</a>
<a class="list-group-item" href="./yii-web-controller.html">Controller</a>
<a class="list-group-item" href="./yii-web-cookie.html">Cookie</a>
<a class="list-group-item" href="./yii-web-cookiecollection.html">CookieCollection</a>
<a class="list-group-item" href="./yii-web-dbsession.html">DbSession</a>
<a class="list-group-item" href="./yii-web-erroraction.html">ErrorAction</a>
<a class="list-group-item" href="./yii-web-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-web-forbiddenhttpexception.html">ForbiddenHttpException</a>
<a class="list-group-item" href="./yii-web-gonehttpexception.html">GoneHttpException</a>
<a class="list-group-item" href="./yii-web-groupurlrule.html">GroupUrlRule</a>
<a class="list-group-item" href="./yii-web-headercollection.html">HeaderCollection</a>
<a class="list-group-item" href="./yii-web-htmlresponseformatter.html">HtmlResponseFormatter</a>
<a class="list-group-item" href="./yii-web-httpexception.html">HttpException</a>
<a class="list-group-item" href="./yii-web-identityinterface.html">IdentityInterface</a>
<a class="list-group-item" href="./yii-web-jqueryasset.html">JqueryAsset</a>
<a class="list-group-item" href="./yii-web-jsexpression.html">JsExpression</a>
<a class="list-group-item" href="./yii-web-jsonparser.html">JsonParser</a>
<a class="list-group-item" href="./yii-web-jsonresponseformatter.html">JsonResponseFormatter</a>
<a class="list-group-item" href="./yii-web-link.html">Link</a>
<a class="list-group-item" href="./yii-web-linkable.html">Linkable</a>
<a class="list-group-item" href="./yii-web-methodnotallowedhttpexception.html">MethodNotAllowedHttpException</a>
<a class="list-group-item" href="./yii-web-multifieldsession.html">MultiFieldSession</a>
<a class="list-group-item" href="./yii-web-notacceptablehttpexception.html">NotAcceptableHttpException</a>
<a class="list-group-item" href="./yii-web-notfoundhttpexception.html">NotFoundHttpException</a>
<a class="list-group-item" href="./yii-web-request.html">Request</a>
<a class="list-group-item" href="./yii-web-requestparserinterface.html">RequestParserInterface</a>
<a class="list-group-item" href="./yii-web-response.html">Response</a>
<a class="list-group-item" href="./yii-web-responseformatterinterface.html">ResponseFormatterInterface</a>
<a class="list-group-item" href="./yii-web-servererrorhttpexception.html">ServerErrorHttpException</a>
<a class="list-group-item" href="./yii-web-session.html">Session</a>
<a class="list-group-item" href="./yii-web-sessioniterator.html">SessionIterator</a>
<a class="list-group-item" href="./yii-web-toomanyrequestshttpexception.html">TooManyRequestsHttpException</a>
<a class="list-group-item" href="./yii-web-unauthorizedhttpexception.html">UnauthorizedHttpException</a>
<a class="list-group-item" href="./yii-web-unprocessableentityhttpexception.html">UnprocessableEntityHttpException</a>
<a class="list-group-item" href="./yii-web-unsupportedmediatypehttpexception.html">UnsupportedMediaTypeHttpException</a>
<a class="list-group-item" href="./yii-web-uploadedfile.html">UploadedFile</a>
<a class="list-group-item" href="./yii-web-urlmanager.html">UrlManager</a>
<a class="list-group-item" href="./yii-web-urlrule.html">UrlRule</a>
<a class="list-group-item" href="./yii-web-urlruleinterface.html">UrlRuleInterface</a>
<a class="list-group-item" href="./yii-web-user.html">User</a>
<a class="list-group-item" href="./yii-web-userevent.html">UserEvent</a>
<a class="list-group-item" href="./yii-web-view.html">View</a>
<a class="list-group-item" href="./yii-web-viewaction.html">ViewAction</a>
<a class="list-group-item" href="./yii-web-xmlresponseformatter.html">XmlResponseFormatter</a>
<a class="list-group-item" href="./yii-web-yiiasset.html">YiiAsset</a></div>
<a class="list-group-item" href="#navigation-2376" data-toggle="collapse" data-parent="#navigation">yii\widgets <b class="caret"></b></a><div id="navigation-2376" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-widgets-activefield.html">ActiveField</a>
<a class="list-group-item" href="./yii-widgets-activeform.html">ActiveForm</a>
<a class="list-group-item" href="./yii-widgets-activeformasset.html">ActiveFormAsset</a>
<a class="list-group-item" href="./yii-widgets-baselistview.html">BaseListView</a>
<a class="list-group-item" href="./yii-widgets-block.html">Block</a>
<a class="list-group-item" href="./yii-widgets-breadcrumbs.html">Breadcrumbs</a>
<a class="list-group-item" href="./yii-widgets-contentdecorator.html">ContentDecorator</a>
<a class="list-group-item" href="./yii-widgets-detailview.html">DetailView</a>
<a class="list-group-item" href="./yii-widgets-fragmentcache.html">FragmentCache</a>
<a class="list-group-item" href="./yii-widgets-inputwidget.html">InputWidget</a>
<a class="list-group-item" href="./yii-widgets-linkpager.html">LinkPager</a>
<a class="list-group-item" href="./yii-widgets-linksorter.html">LinkSorter</a>
<a class="list-group-item" href="./yii-widgets-listview.html">ListView</a>
<a class="list-group-item" href="./yii-widgets-maskedinput.html">MaskedInput</a>
<a class="list-group-item" href="./yii-widgets-maskedinputasset.html">MaskedInputAsset</a>
<a class="list-group-item" href="./yii-widgets-menu.html">Menu</a>
<a class="list-group-item" href="./yii-widgets-pjax.html">Pjax</a>
<a class="list-group-item" href="./yii-widgets-pjaxasset.html">PjaxAsset</a>
<a class="list-group-item" href="./yii-widgets-spaceless.html">Spaceless</a></div></div>    </div>
    <div class="col-md-9 api-content" role="main">
        <h1>Abstract Class yii\base\Application</h1>
<div class="top-nav">
    <a href="index.html">All Classes</a>
            | <a href="#properties">Properties</a>
                | <a href="#methods">Methods</a>
                | <a href="#events">Events</a>
                | <a href="#constants">Constants</a>
    </div>

<table class="summaryTable docClass table table-bordered">
    <colgroup>
        <col class="col-name" />
        <col class="col-value" />
    </colgroup>
            <tr><th>Inheritance</th><td><a href="yii-base-application.html">yii\base\Application</a> &raquo;
<a href="yii-base-module.html">yii\base\Module</a> &raquo;
<a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a> &raquo;
<a href="yii-base-component.html">yii\base\Component</a> &raquo;
<a href="yii-base-object.html">yii\base\Object</a></td></tr>
                <tr><th>Implements</th><td><a href="yii-base-configurable.html">yii\base\Configurable</a></td></tr>
                        <tr><th>Subclasses</th><td><a href="yii-console-application.html">yii\console\Application</a>, <a href="yii-web-application.html">yii\web\Application</a></td></tr>
                        <tr><th>Available since version</th><td>2.0</td></tr>
                    <tr>
          <th>Source Code</th>
          <td><a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php">https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php</a></td>
        </tr>
    </table>

<div class="class-description">
    <p><strong>Application is the base class for all application classes.</strong></p>
    
    </div>

<a id="properties"></a>

<div class="summary doc-property">
<h2>Public Properties</h2>

<p><a href="#" class="toggle">Hide inherited properties</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-property" />
    <col class="col-type" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Property</th><th>Type</th><th>Description</th><th>Defined By</th>
</tr>
        <tr class="inherited" id="$aliases">
        <td><a href="yii-base-module.html#$aliases-detail">$aliases</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>List of path aliases to be defined.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$assetManager">
        <td><a href="yii-base-application.html#$assetManager-detail">$assetManager</a></td>
        <td><a href="yii-web-assetmanager.html">yii\web\AssetManager</a></td>
        <td>The asset manager application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$authManager">
        <td><a href="yii-base-application.html#$authManager-detail">$authManager</a></td>
        <td><a href="yii-rbac-managerinterface.html">yii\rbac\ManagerInterface</a></td>
        <td>The auth manager application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$basePath">
        <td><a href="yii-base-module.html#$basePath-detail">$basePath</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The root directory of the module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="$behaviors">
        <td><a href="yii-base-component.html#$behaviors-detail">$behaviors</a></td>
        <td><a href="yii-base-behavior.html">yii\base\Behavior</a>[]</td>
        <td>List of behaviors attached to this component</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="$bootstrap">
        <td><a href="yii-base-application.html#$bootstrap-detail">$bootstrap</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>List of components that should be run during the application <a href="yii-base-application.html#bootstrap()-detail">bootstrapping process</a>.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$cache">
        <td><a href="yii-base-application.html#$cache-detail">$cache</a></td>
        <td><a href="yii-caching-cache.html">yii\caching\Cache</a></td>
        <td>The cache application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$charset">
        <td><a href="yii-base-application.html#$charset-detail">$charset</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The charset currently used for the application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$components">
        <td><a href="yii-di-servicelocator.html#$components-detail">$components</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The list of the component definitions or the loaded component instances (ID =&gt; definition or instance).</td>
        <td><a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a></td>
    </tr>
            <tr id="$controller">
        <td><a href="yii-base-application.html#$controller-detail">$controller</a></td>
        <td><a href="yii-base-controller.html">yii\base\Controller</a></td>
        <td>The currently active controller instance</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$controllerMap">
        <td><a href="yii-base-module.html#$controllerMap-detail">$controllerMap</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>Mapping from controller ID to controller configurations.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$controllerNamespace">
        <td><a href="yii-base-application.html#$controllerNamespace-detail">$controllerNamespace</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The namespace that controller classes are located in.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$controllerPath">
        <td><a href="yii-base-module.html#$controllerPath-detail">$controllerPath</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The directory that contains the controller classes.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$db">
        <td><a href="yii-base-application.html#$db-detail">$db</a></td>
        <td><a href="yii-db-connection.html">yii\db\Connection</a></td>
        <td>The database connection.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$defaultRoute">
        <td><a href="yii-base-module.html#$defaultRoute-detail">$defaultRoute</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The default route of this module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$errorHandler">
        <td><a href="yii-base-application.html#$errorHandler-detail">$errorHandler</a></td>
        <td><a href="yii-web-errorhandler.html">yii\web\ErrorHandler</a>|<a href="yii-console-errorhandler.html">yii\console\ErrorHandler</a></td>
        <td>The error handler application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$extensions">
        <td><a href="yii-base-application.html#$extensions-detail">$extensions</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>List of installed Yii extensions.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$formatter">
        <td><a href="yii-base-application.html#$formatter-detail">$formatter</a></td>
        <td><a href="yii-i18n-formatter.html">yii\i18n\Formatter</a></td>
        <td>The formatter application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$i18n">
        <td><a href="yii-base-application.html#$i18n-detail">$i18n</a></td>
        <td><a href="yii-i18n-i18n.html">yii\i18n\I18N</a></td>
        <td>The internationalization application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$id">
        <td><a href="yii-base-module.html#$id-detail">$id</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>An ID that uniquely identifies this module among other modules which have the same <a href="yii-base-module.html#$module-detail">parent</a>.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$language">
        <td><a href="yii-base-application.html#$language-detail">$language</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The language that is meant to be used for end users.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$layout">
        <td><a href="yii-base-application.html#$layout-detail">$layout</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>The layout that should be applied for views in this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$layoutPath">
        <td><a href="yii-base-module.html#$layoutPath-detail">$layoutPath</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The root directory of layout files.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$loadedModules">
        <td><a href="yii-base-application.html#$loadedModules-detail">$loadedModules</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>List of loaded modules indexed by their class names.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$log">
        <td><a href="yii-base-application.html#$log-detail">$log</a></td>
        <td><a href="yii-log-dispatcher.html">yii\log\Dispatcher</a></td>
        <td>The log dispatcher application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$mailer">
        <td><a href="yii-base-application.html#$mailer-detail">$mailer</a></td>
        <td><a href="yii-mail-mailerinterface.html">yii\mail\MailerInterface</a></td>
        <td>The mailer application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$module">
        <td><a href="yii-base-module.html#$module-detail">$module</a></td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
        <td>The parent module of this module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="$modules">
        <td><a href="yii-base-module.html#$modules-detail">$modules</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The modules (indexed by their IDs)</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$name">
        <td><a href="yii-base-application.html#$name-detail">$name</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The application name.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$params">
        <td><a href="yii-base-module.html#$params-detail">$params</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>Custom module parameters (name =&gt; value).</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="$request">
        <td><a href="yii-base-application.html#$request-detail">$request</a></td>
        <td><a href="yii-web-request.html">yii\web\Request</a>|<a href="yii-console-request.html">yii\console\Request</a></td>
        <td>The request component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$requestedAction">
        <td><a href="yii-base-application.html#$requestedAction-detail">$requestedAction</a></td>
        <td><a href="yii-base-action.html">yii\base\Action</a></td>
        <td>The requested Action.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$requestedParams">
        <td><a href="yii-base-application.html#$requestedParams-detail">$requestedParams</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The parameters supplied to the requested action.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$requestedRoute">
        <td><a href="yii-base-application.html#$requestedRoute-detail">$requestedRoute</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The requested route</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$response">
        <td><a href="yii-base-application.html#$response-detail">$response</a></td>
        <td><a href="yii-web-response.html">yii\web\Response</a>|<a href="yii-console-response.html">yii\console\Response</a></td>
        <td>The response component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$runtimePath">
        <td><a href="yii-base-application.html#$runtimePath-detail">$runtimePath</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The directory that stores runtime files.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$security">
        <td><a href="yii-base-application.html#$security-detail">$security</a></td>
        <td><a href="yii-base-security.html">yii\base\Security</a></td>
        <td>The security application component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$sourceLanguage">
        <td><a href="yii-base-application.html#$sourceLanguage-detail">$sourceLanguage</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The language that the application is written in.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$state">
        <td><a href="yii-base-application.html#$state-detail">$state</a></td>
        <td><a href="http://www.php.net/language.types.integer">integer</a></td>
        <td>The current application state during a request handling life cycle.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$timeZone">
        <td><a href="yii-base-application.html#$timeZone-detail">$timeZone</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The time zone used by this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$uniqueId">
        <td><a href="yii-base-application.html#$uniqueId-detail">$uniqueId</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The unique ID of the module.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$urlManager">
        <td><a href="yii-base-application.html#$urlManager-detail">$urlManager</a></td>
        <td><a href="yii-web-urlmanager.html">yii\web\UrlManager</a></td>
        <td>The URL manager for this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$vendorPath">
        <td><a href="yii-base-application.html#$vendorPath-detail">$vendorPath</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The directory that stores vendor files.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$version">
        <td><a href="yii-base-application.html#$version-detail">$version</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The version of this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="$view">
        <td><a href="yii-base-application.html#$view-detail">$view</a></td>
        <td><a href="yii-base-view.html">yii\base\View</a>|<a href="yii-web-view.html">yii\web\View</a></td>
        <td>The view application component that is used to render various view files.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="$viewPath">
        <td><a href="yii-base-module.html#$viewPath-detail">$viewPath</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The root directory of view files.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
    </table>
</div>

<a id="methods"></a>

<div class="summary doc-method">
<h2>Public Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
        <tr class="inherited" id="__call()">
        <td><a href="yii-base-object.html#__call()-detail">__call()</a></td>
        <td>Calls the named method which is not a class method.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__clone()">
        <td><a href="yii-base-component.html#__clone()-detail">__clone()</a></td>
        <td>This method is called after the object is created by cloning an existing one.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="__construct()">
        <td><a href="yii-base-application.html#__construct()-detail">__construct()</a></td>
        <td>Constructor.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="__get()">
        <td><a href="yii-base-object.html#__get()-detail">__get()</a></td>
        <td>Returns the value of an object property.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__isset()">
        <td><a href="yii-base-object.html#__isset()-detail">__isset()</a></td>
        <td>Checks if a property is set, i.e. defined and not null.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__set()">
        <td><a href="yii-base-object.html#__set()-detail">__set()</a></td>
        <td>Sets value of an object property.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__unset()">
        <td><a href="yii-base-object.html#__unset()-detail">__unset()</a></td>
        <td>Sets an object property to null.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="afterAction()">
        <td><a href="yii-base-module.html#afterAction()-detail">afterAction()</a></td>
        <td>This method is invoked right after an action within this module is executed.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="attachBehavior()">
        <td><a href="yii-base-component.html#attachBehavior()-detail">attachBehavior()</a></td>
        <td>Attaches a behavior to this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="attachBehaviors()">
        <td><a href="yii-base-component.html#attachBehaviors()-detail">attachBehaviors()</a></td>
        <td>Attaches a list of behaviors to the component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="beforeAction()">
        <td><a href="yii-base-module.html#beforeAction()-detail">beforeAction()</a></td>
        <td>This method is invoked right before an action within this module is executed.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="behaviors()">
        <td><a href="yii-base-component.html#behaviors()-detail">behaviors()</a></td>
        <td>Returns a list of behaviors that this component should behave as.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
                <tr class="inherited" id="canGetProperty()">
        <td><a href="yii-base-object.html#canGetProperty()-detail">canGetProperty()</a></td>
        <td>Returns a value indicating whether a property can be read.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="canSetProperty()">
        <td><a href="yii-base-object.html#canSetProperty()-detail">canSetProperty()</a></td>
        <td>Returns a value indicating whether a property can be set.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="className()">
        <td><a href="yii-base-object.html#className()-detail">className()</a></td>
        <td>Returns the fully qualified name of this class.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="clear()">
        <td><a href="yii-di-servicelocator.html#clear()-detail">clear()</a></td>
        <td>Removes the component from the locator.</td>
        <td><a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a></td>
    </tr>
            <tr id="coreComponents()">
        <td><a href="yii-base-application.html#coreComponents()-detail">coreComponents()</a></td>
        <td>Returns the configuration of core application components.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="createController()">
        <td><a href="yii-base-module.html#createController()-detail">createController()</a></td>
        <td>Creates a controller instance based on the given route.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="createControllerByID()">
        <td><a href="yii-base-module.html#createControllerByID()-detail">createControllerByID()</a></td>
        <td>Creates a controller based on the given controller ID.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="detachBehavior()">
        <td><a href="yii-base-component.html#detachBehavior()-detail">detachBehavior()</a></td>
        <td>Detaches a behavior from the component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="detachBehaviors()">
        <td><a href="yii-base-component.html#detachBehaviors()-detail">detachBehaviors()</a></td>
        <td>Detaches all behaviors from the component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="end()">
        <td><a href="yii-base-application.html#end()-detail">end()</a></td>
        <td>Terminates the application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="ensureBehaviors()">
        <td><a href="yii-base-component.html#ensureBehaviors()-detail">ensureBehaviors()</a></td>
        <td>Makes sure that the behaviors declared in <a href="yii-base-component.html#behaviors()-detail">behaviors()</a> are attached to this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="get()">
        <td><a href="yii-di-servicelocator.html#get()-detail">get()</a></td>
        <td>Returns the component instance with the specified ID.</td>
        <td><a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a></td>
    </tr>
            <tr id="getAssetManager()">
        <td><a href="yii-base-application.html#getAssetManager()-detail">getAssetManager()</a></td>
        <td>Returns the asset manager.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getAuthManager()">
        <td><a href="yii-base-application.html#getAuthManager()-detail">getAuthManager()</a></td>
        <td>Returns the auth manager for this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="getBasePath()">
        <td><a href="yii-base-module.html#getBasePath()-detail">getBasePath()</a></td>
        <td>Returns the root directory of the module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="getBehavior()">
        <td><a href="yii-base-component.html#getBehavior()-detail">getBehavior()</a></td>
        <td>Returns the named behavior object.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="getBehaviors()">
        <td><a href="yii-base-component.html#getBehaviors()-detail">getBehaviors()</a></td>
        <td>Returns all behaviors attached to this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="getCache()">
        <td><a href="yii-base-application.html#getCache()-detail">getCache()</a></td>
        <td>Returns the cache component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="getComponents()">
        <td><a href="yii-di-servicelocator.html#getComponents()-detail">getComponents()</a></td>
        <td>Returns the list of the component definitions or the loaded component instances.</td>
        <td><a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a></td>
    </tr>
            <tr class="inherited" id="getControllerPath()">
        <td><a href="yii-base-module.html#getControllerPath()-detail">getControllerPath()</a></td>
        <td>Returns the directory that contains the controller classes according to <a href="yii-base-module.html#$controllerNamespace-detail">$controllerNamespace</a>.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="getDb()">
        <td><a href="yii-base-application.html#getDb()-detail">getDb()</a></td>
        <td>Returns the database connection component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getErrorHandler()">
        <td><a href="yii-base-application.html#getErrorHandler()-detail">getErrorHandler()</a></td>
        <td>Returns the error handler component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getFormatter()">
        <td><a href="yii-base-application.html#getFormatter()-detail">getFormatter()</a></td>
        <td>Returns the formatter component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getI18n()">
        <td><a href="yii-base-application.html#getI18n()-detail">getI18n()</a></td>
        <td>Returns the internationalization (i18n) component</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="getInstance()">
        <td><a href="yii-base-module.html#getInstance()-detail">getInstance()</a></td>
        <td>Returns the currently requested instance of this module class.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="getLayoutPath()">
        <td><a href="yii-base-module.html#getLayoutPath()-detail">getLayoutPath()</a></td>
        <td>Returns the directory that contains layout view files for this module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="getLog()">
        <td><a href="yii-base-application.html#getLog()-detail">getLog()</a></td>
        <td>Returns the log dispatcher component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getMailer()">
        <td><a href="yii-base-application.html#getMailer()-detail">getMailer()</a></td>
        <td>Returns the mailer component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="getModule()">
        <td><a href="yii-base-module.html#getModule()-detail">getModule()</a></td>
        <td>Retrieves the child module of the specified ID.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="getModules()">
        <td><a href="yii-base-module.html#getModules()-detail">getModules()</a></td>
        <td>Returns the sub-modules in this module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="getRequest()">
        <td><a href="yii-base-application.html#getRequest()-detail">getRequest()</a></td>
        <td>Returns the request component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getResponse()">
        <td><a href="yii-base-application.html#getResponse()-detail">getResponse()</a></td>
        <td>Returns the response component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getRuntimePath()">
        <td><a href="yii-base-application.html#getRuntimePath()-detail">getRuntimePath()</a></td>
        <td>Returns the directory that stores runtime files.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getSecurity()">
        <td><a href="yii-base-application.html#getSecurity()-detail">getSecurity()</a></td>
        <td>Returns the security component.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getTimeZone()">
        <td><a href="yii-base-application.html#getTimeZone()-detail">getTimeZone()</a></td>
        <td>Returns the time zone used by this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getUniqueId()">
        <td><a href="yii-base-application.html#getUniqueId()-detail">getUniqueId()</a></td>
        <td>Returns an ID that uniquely identifies this module among all modules within the current application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getUrlManager()">
        <td><a href="yii-base-application.html#getUrlManager()-detail">getUrlManager()</a></td>
        <td>Returns the URL manager for this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getVendorPath()">
        <td><a href="yii-base-application.html#getVendorPath()-detail">getVendorPath()</a></td>
        <td>Returns the directory that stores vendor files.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="getView()">
        <td><a href="yii-base-application.html#getView()-detail">getView()</a></td>
        <td>Returns the view object.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="getViewPath()">
        <td><a href="yii-base-module.html#getViewPath()-detail">getViewPath()</a></td>
        <td>Returns the directory that contains the view files for this module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="handleRequest()">
        <td><a href="yii-base-application.html#handleRequest()-detail">handleRequest()</a></td>
        <td>Handles the specified request.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="has()">
        <td><a href="yii-di-servicelocator.html#has()-detail">has()</a></td>
        <td>Returns a value indicating whether the locator has the specified component definition or has instantiated the component.</td>
        <td><a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a></td>
    </tr>
            <tr class="inherited" id="hasEventHandlers()">
        <td><a href="yii-base-component.html#hasEventHandlers()-detail">hasEventHandlers()</a></td>
        <td>Returns a value indicating whether there is any handler attached to the named event.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="hasMethod()">
        <td><a href="yii-base-object.html#hasMethod()-detail">hasMethod()</a></td>
        <td>Returns a value indicating whether a method is defined.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="hasModule()">
        <td><a href="yii-base-module.html#hasModule()-detail">hasModule()</a></td>
        <td>Checks whether the child module of the specified ID exists.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="hasProperty()">
        <td><a href="yii-base-object.html#hasProperty()-detail">hasProperty()</a></td>
        <td>Returns a value indicating whether a property is defined.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr id="init()">
        <td><a href="yii-base-application.html#init()-detail">init()</a></td>
        <td>Initializes the module.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="off()">
        <td><a href="yii-base-component.html#off()-detail">off()</a></td>
        <td>Detaches an existing event handler from this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="on()">
        <td><a href="yii-base-component.html#on()-detail">on()</a></td>
        <td>Attaches an event handler to an event.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="preInit()">
        <td><a href="yii-base-application.html#preInit()-detail">preInit()</a></td>
        <td>Pre-initializes the application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
                <tr id="run()">
        <td><a href="yii-base-application.html#run()-detail">run()</a></td>
        <td>Runs the application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="runAction()">
        <td><a href="yii-base-module.html#runAction()-detail">runAction()</a></td>
        <td>Runs a controller action specified by a route.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="set()">
        <td><a href="yii-di-servicelocator.html#set()-detail">set()</a></td>
        <td>Registers a component definition with this locator.</td>
        <td><a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a></td>
    </tr>
            <tr class="inherited" id="setAliases()">
        <td><a href="yii-base-module.html#setAliases()-detail">setAliases()</a></td>
        <td>Defines path aliases.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="setBasePath()">
        <td><a href="yii-base-application.html#setBasePath()-detail">setBasePath()</a></td>
        <td>Sets the root directory of the application and the @app alias.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="setComponents()">
        <td><a href="yii-di-servicelocator.html#setComponents()-detail">setComponents()</a></td>
        <td>Registers a set of component definitions in this locator.</td>
        <td><a href="yii-di-servicelocator.html">yii\di\ServiceLocator</a></td>
    </tr>
            <tr class="inherited" id="setInstance()">
        <td><a href="yii-base-module.html#setInstance()-detail">setInstance()</a></td>
        <td>Sets the currently requested instance of this module class.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="setLayoutPath()">
        <td><a href="yii-base-module.html#setLayoutPath()-detail">setLayoutPath()</a></td>
        <td>Sets the directory that contains the layout files.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="setModule()">
        <td><a href="yii-base-module.html#setModule()-detail">setModule()</a></td>
        <td>Adds a sub-module to this module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="setModules()">
        <td><a href="yii-base-module.html#setModules()-detail">setModules()</a></td>
        <td>Registers sub-modules in the current module.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr id="setRuntimePath()">
        <td><a href="yii-base-application.html#setRuntimePath()-detail">setRuntimePath()</a></td>
        <td>Sets the directory that stores runtime files.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="setTimeZone()">
        <td><a href="yii-base-application.html#setTimeZone()-detail">setTimeZone()</a></td>
        <td>Sets the time zone used by this application.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr id="setVendorPath()">
        <td><a href="yii-base-application.html#setVendorPath()-detail">setVendorPath()</a></td>
        <td>Sets the directory that stores vendor files.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
            <tr class="inherited" id="setViewPath()">
        <td><a href="yii-base-module.html#setViewPath()-detail">setViewPath()</a></td>
        <td>Sets the directory that contains the view files.</td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
            <tr class="inherited" id="trigger()">
        <td><a href="yii-base-component.html#trigger()-detail">trigger()</a></td>
        <td>Triggers an event.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
    </table>
</div>

<div class="summary doc-method">
<h2>Protected Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
                                                        <tr id="bootstrap()">
        <td><a href="yii-base-application.html#bootstrap()-detail">bootstrap()</a></td>
        <td>Initializes extensions and executes bootstrap components.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
                                                                                                                                                                                                                    <tr id="registerErrorHandler()">
        <td><a href="yii-base-application.html#registerErrorHandler()-detail">registerErrorHandler()</a></td>
        <td>Registers the errorHandler component as a PHP error handler.</td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
                                                                </table>
</div>

<a id="events"></a>
<div class="summary doc-event">
    <h2>Events</h2>

    <p><a href="#" class="toggle">Hide inherited events</a></p>

    <table class="summary-table table table-striped table-bordered table-hover">
    <colgroup>
        <col class="col-event" />
        <col class="col-type" />
        <col class="col-description" />
        <col class="col-defined" />
    </colgroup>
    <tr>
        <th>Event</th><th>Type</th><th>Description</th><th>Defined By</th>
    </tr>
        <tr class="inherited" id="EVENT_AFTER_ACTION">
        <td><a href="yii-base-module.html#EVENT_AFTER_ACTION-detail">EVENT_AFTER_ACTION</a></td>
        <td><a href="yii-base-actionevent.html">yii\base\ActionEvent</a></td>
        <td>
            An event raised after executing a controller action.                    </td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
        <tr id="EVENT_AFTER_REQUEST">
        <td><a href="yii-base-application.html#EVENT_AFTER_REQUEST-detail">EVENT_AFTER_REQUEST</a></td>
        <td><a href="yii-base-event.html">yii\base\Event</a></td>
        <td>
            An event raised after the application successfully handles a request (before the response is sent out).                    </td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
        <tr class="inherited" id="EVENT_BEFORE_ACTION">
        <td><a href="yii-base-module.html#EVENT_BEFORE_ACTION-detail">EVENT_BEFORE_ACTION</a></td>
        <td><a href="yii-base-actionevent.html">yii\base\ActionEvent</a></td>
        <td>
            An event raised before executing a controller action.                    </td>
        <td><a href="yii-base-module.html">yii\base\Module</a></td>
    </tr>
        <tr id="EVENT_BEFORE_REQUEST">
        <td><a href="yii-base-application.html#EVENT_BEFORE_REQUEST-detail">EVENT_BEFORE_REQUEST</a></td>
        <td><a href="yii-base-event.html">yii\base\Event</a></td>
        <td>
            An event raised before the application starts to handle a request.                    </td>
        <td><a href="yii-base-application.html">yii\base\Application</a></td>
    </tr>
        </table>
</div>

<a id="constants"></a>
<div class="summary doc-const">
    <h2>Constants</h2>

    <p><a href="#" class="toggle">Hide inherited constants</a></p>

    <table class="summary-table table table-striped table-bordered table-hover">
    <colgroup>
        <col class="col-const" />
        <col class="col-value" />
        <col class="col-description" />
        <col class="col-defined" />
    </colgroup>
    <tr>
        <th>Constant</th><th>Value</th><th>Description</th><th>Defined By</th>
    </tr>
            <tr id="STATE_AFTER_REQUEST">
          <td id="STATE_AFTER_REQUEST-detail">STATE_AFTER_REQUEST</td>
          <td>4</td>
          <td>Application state used by <a href="yii-base-application.html#$state-detail">$state</a>: application is triggering <a href="yii-base-application.html#EVENT_AFTER_REQUEST-detail">EVENT_AFTER_REQUEST</a>.
.</td>
          <td><a href="yii-base-application.html">yii\base\Application</a></td>
        </tr>
            <tr id="STATE_BEFORE_REQUEST">
          <td id="STATE_BEFORE_REQUEST-detail">STATE_BEFORE_REQUEST</td>
          <td>2</td>
          <td>Application state used by <a href="yii-base-application.html#$state-detail">$state</a>: application is triggering <a href="yii-base-application.html#EVENT_BEFORE_REQUEST-detail">EVENT_BEFORE_REQUEST</a>.
</td>
          <td><a href="yii-base-application.html">yii\base\Application</a></td>
        </tr>
            <tr id="STATE_BEGIN">
          <td id="STATE_BEGIN-detail">STATE_BEGIN</td>
          <td>0</td>
          <td>Application state used by <a href="yii-base-application.html#$state-detail">$state</a>: application just started.
</td>
          <td><a href="yii-base-application.html">yii\base\Application</a></td>
        </tr>
            <tr id="STATE_END">
          <td id="STATE_END-detail">STATE_END</td>
          <td>6</td>
          <td>Application state used by <a href="yii-base-application.html#$state-detail">$state</a>: application has ended.
</td>
          <td><a href="yii-base-application.html">yii\base\Application</a></td>
        </tr>
            <tr id="STATE_HANDLING_REQUEST">
          <td id="STATE_HANDLING_REQUEST-detail">STATE_HANDLING_REQUEST</td>
          <td>3</td>
          <td>Application state used by <a href="yii-base-application.html#$state-detail">$state</a>: application is handling the request.
</td>
          <td><a href="yii-base-application.html">yii\base\Application</a></td>
        </tr>
            <tr id="STATE_INIT">
          <td id="STATE_INIT-detail">STATE_INIT</td>
          <td>1</td>
          <td>Application state used by <a href="yii-base-application.html#$state-detail">$state</a>: application is initializing.
</td>
          <td><a href="yii-base-application.html">yii\base\Application</a></td>
        </tr>
            <tr id="STATE_SENDING_RESPONSE">
          <td id="STATE_SENDING_RESPONSE-detail">STATE_SENDING_RESPONSE</td>
          <td>5</td>
          <td>Application state used by <a href="yii-base-application.html#$state-detail">$state</a>: application is about to send response.
</td>
          <td><a href="yii-base-application.html">yii\base\Application</a></td>
        </tr>
        </table>
</div>

<h2>Property Details</h2>

<div class="property-doc">

    <div class="detail-header h3" id="$assetManager-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$assetManager-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $assetManager        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The asset manager application component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-assetmanager.html">yii\web\AssetManager</a></span> <strong><a href="yii-base-application.html#getAssetManager()-detail">getAssetManager</a></strong> ( )</div>


    <div class="detail-header h3" id="$authManager-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$authManager-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $authManager        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The auth manager application component.
Null is returned if auth manager is not configured.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-rbac-managerinterface.html">yii\rbac\ManagerInterface</a></span> <strong><a href="yii-base-application.html#getAuthManager()-detail">getAuthManager</a></strong> ( )</div>


    <div class="detail-header h3" id="$bootstrap-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$bootstrap-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L177" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L177" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $bootstrap        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>List of components that should be run during the application <a href="yii-base-application.html#bootstrap()-detail">bootstrapping process</a>.</p>
<p>Each component may be specified in one of the following formats:</p>
<ul>
<li>an application component ID as specified via <a href="yii-di-servicelocator.html#$components-detail">$components</a>.</li>
<li>a module ID as specified via <a href="yii-base-module.html#$modules-detail">$modules</a>.</li>
<li>a class name.</li>
<li>a configuration array.</li>
</ul>
<p>During the bootstrapping process, each component will be instantiated. If the component class
implements <a href="yii-base-bootstrapinterface.html">yii\base\BootstrapInterface</a>, its <a href="yii-base-bootstrapinterface.html#bootstrap()-detail">bootstrap()</a> method
will be also be called.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-base-application.html#$bootstrap-detail">$bootstrap</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[]</span></div>


    <div class="detail-header h3" id="$cache-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$cache-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $cache        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The cache application component. Null if the component is not enabled.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-caching-cache.html">yii\caching\Cache</a></span> <strong><a href="yii-base-application.html#getCache()-detail">getCache</a></strong> ( )</div>


    <div class="detail-header h3" id="$charset-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$charset-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L104" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L104" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $charset        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The charset currently used for the application.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-base-application.html#$charset-detail">$charset</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'UTF-8'</span></div>


    <div class="detail-header h3" id="$controller-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$controller-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L121" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L121" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $controller        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The currently active controller instance</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-base-controller.html">yii\base\Controller</a></span> <a href="yii-base-application.html#$controller-detail">$controller</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$controllerNamespace-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$controllerNamespace-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L92" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L92" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $controllerNamespace        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The namespace that controller classes are located in.
This namespace will be used to load controller classes by prepending it to the controller class name.
The default namespace is <code>app\controllers</code>.</p>
<p>Please refer to the <a href="./guide-concept-autoloading.html">guide about class autoloading</a> for more details.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-base-application.html#$controllerNamespace-detail">$controllerNamespace</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'app\\controllers'</span></div>


    <div class="detail-header h3" id="$db-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$db-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $db        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The database connection.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-db-connection.html">yii\db\Connection</a></span> <strong><a href="yii-base-application.html#getDb()-detail">getDb</a></strong> ( )</div>


    <div class="detail-header h3" id="$errorHandler-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$errorHandler-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $errorHandler        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The error handler application component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-errorhandler.html">yii\web\ErrorHandler</a>|<a href="yii-console-errorhandler.html">yii\console\ErrorHandler</a></span> <strong><a href="yii-base-application.html#getErrorHandler()-detail">getErrorHandler</a></strong> ( )</div>


    <div class="detail-header h3" id="$extensions-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$extensions-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L162" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L162" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $extensions        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>List of installed Yii extensions. Each array element represents a single extension
with the following structure:</p>
<pre><code class="hljs php language-php">[
    <span class="hljs-string">'name'</span> =&gt; <span class="hljs-string">'extension name'</span>,
    <span class="hljs-string">'version'</span> =&gt; <span class="hljs-string">'version number'</span>,
    <span class="hljs-string">'bootstrap'</span> =&gt; <span class="hljs-string">'BootstrapClassName'</span>,  <span class="hljs-comment">// optional, may also be a configuration array</span>
    <span class="hljs-string">'alias'</span> =&gt; [
        <span class="hljs-string">'@alias1'</span> =&gt; <span class="hljs-string">'to/path1'</span>,
        <span class="hljs-string">'@alias2'</span> =&gt; <span class="hljs-string">'to/path2'</span>,
    ],
]
</code></pre>
<p>The "bootstrap" class listed above will be instantiated during the application
<a href="yii-base-application.html#bootstrap()-detail">bootstrapping process</a>. If the class implements <a href="yii-base-bootstrapinterface.html">yii\base\BootstrapInterface</a>,
its <a href="yii-base-bootstrapinterface.html#bootstrap()-detail">bootstrap()</a> method will be also be called.</p>
<p>If not set explicitly in the application config, this property will be populated with the contents of
<code>@vendor/yiisoft/extensions.php</code>.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-base-application.html#$extensions-detail">$extensions</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$formatter-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$formatter-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $formatter        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The formatter application component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-i18n-formatter.html">yii\i18n\Formatter</a></span> <strong><a href="yii-base-application.html#getFormatter()-detail">getFormatter</a></strong> ( )</div>


    <div class="detail-header h3" id="$i18n-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$i18n-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $i18n        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The internationalization application component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-i18n-i18n.html">yii\i18n\I18N</a></span> <strong><a href="yii-base-application.html#getI18n()-detail">getI18n</a></strong> ( )</div>


    <div class="detail-header h3" id="$language-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$language-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L111" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L111" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $language        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The language that is meant to be used for end users. It is recommended that you
use <a href="http://en.wikipedia.org/wiki/IETF_language_tag">IETF language tags</a>. For example, <code>en</code> stands
for English, while <code>en-US</code> stands for English (United States).</p>

        <p>See also <a href="yii-base-application.html#$sourceLanguage-detail">$sourceLanguage</a>.</p>    </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-base-application.html#$language-detail">$language</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'en-US'</span></div>


    <div class="detail-header h3" id="$layout-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$layout-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L126" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L126" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $layout        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The layout that should be applied for views in this application. Defaults to 'main'.
If this is false, layout will be disabled.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.boolean">boolean</a></span> <a href="yii-base-application.html#$layout-detail">$layout</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'main'</span></div>


    <div class="detail-header h3" id="$loadedModules-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$loadedModules-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L186" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L186" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $loadedModules        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>List of loaded modules indexed by their class names.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-base-application.html#$loadedModules-detail">$loadedModules</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[]</span></div>


    <div class="detail-header h3" id="$log-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$log-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $log        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The log dispatcher application component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-log-dispatcher.html">yii\log\Dispatcher</a></span> <strong><a href="yii-base-application.html#getLog()-detail">getLog</a></strong> ( )</div>


    <div class="detail-header h3" id="$mailer-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$mailer-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $mailer        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The mailer application component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-mail-mailerinterface.html">yii\mail\MailerInterface</a></span> <strong><a href="yii-base-application.html#getMailer()-detail">getMailer</a></strong> ( )</div>


    <div class="detail-header h3" id="$name-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$name-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L96" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L96" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $name        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The application name.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-base-application.html#$name-detail">$name</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'My&nbsp;Application'</span></div>


    <div class="detail-header h3" id="$request-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$request-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $request        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The request component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-request.html">yii\web\Request</a>|<a href="yii-console-request.html">yii\console\Request</a></span> <strong><a href="yii-base-application.html#getRequest()-detail">getRequest</a></strong> ( )</div>


    <div class="detail-header h3" id="$requestedAction-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$requestedAction-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L134" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L134" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $requestedAction        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The requested Action. If null, it means the request cannot be resolved into an action.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-base-action.html">yii\base\Action</a></span> <a href="yii-base-application.html#$requestedAction-detail">$requestedAction</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$requestedParams-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$requestedParams-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L138" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L138" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $requestedParams        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The parameters supplied to the requested action.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-base-application.html#$requestedParams-detail">$requestedParams</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$requestedRoute-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$requestedRoute-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L130" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L130" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $requestedRoute        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The requested route</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-base-application.html#$requestedRoute-detail">$requestedRoute</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$response-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$response-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $response        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The response component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-response.html">yii\web\Response</a>|<a href="yii-console-response.html">yii\console\Response</a></span> <strong><a href="yii-base-application.html#getResponse()-detail">getResponse</a></strong> ( )</div>


    <div class="detail-header h3" id="$runtimePath-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$runtimePath-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $runtimePath        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The directory that stores runtime files.
Defaults to the "runtime" subdirectory under <a href="yii-base-module.html#$basePath-detail">$basePath</a>.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getRuntimePath()-detail">getRuntimePath</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#setRuntimePath()-detail">setRuntimePath</a></strong> ( <span style="color: #0000BB">$path</span> )</div>


    <div class="detail-header h3" id="$security-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$security-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $security        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The security application component.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-base-security.html">yii\base\Security</a></span> <strong><a href="yii-base-application.html#getSecurity()-detail">getSecurity</a></strong> ( )</div>


    <div class="detail-header h3" id="$sourceLanguage-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$sourceLanguage-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L117" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L117" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $sourceLanguage        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The language that the application is written in. This mainly refers to
the language that the messages and view files are written in.</p>

        <p>See also <a href="yii-base-application.html#$language-detail">$language</a>.</p>    </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-base-application.html#$sourceLanguage-detail">$sourceLanguage</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'en-US'</span></div>


    <div class="detail-header h3" id="$state-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$state-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L182" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L182" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $state        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The current application state during a request handling life cycle.
This property is managed by the application. Do not modify this property.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a></span> <a href="yii-base-application.html#$state-detail">$state</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$timeZone-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$timeZone-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $timeZone        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The time zone used by this application.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getTimeZone()-detail">getTimeZone</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#setTimeZone()-detail">setTimeZone</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$uniqueId-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$uniqueId-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $uniqueId        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The unique ID of the module.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getUniqueId()-detail">getUniqueId</a></strong> ( )</div>


    <div class="detail-header h3" id="$urlManager-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$urlManager-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $urlManager        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The URL manager for this application.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-urlmanager.html">yii\web\UrlManager</a></span> <strong><a href="yii-base-application.html#getUrlManager()-detail">getUrlManager</a></strong> ( )</div>


    <div class="detail-header h3" id="$vendorPath-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$vendorPath-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $vendorPath        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The directory that stores vendor files.
Defaults to "vendor" directory under <a href="yii-base-module.html#$basePath-detail">$basePath</a>.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getVendorPath()-detail">getVendorPath</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#setVendorPath()-detail">setVendorPath</a></strong> ( <span style="color: #0000BB">$path</span> )</div>


    <div class="detail-header h3" id="$version-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$version-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L100" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L100" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $version        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The version of this application.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-base-application.html#$version-detail">$version</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'1.0'</span></div>


    <div class="detail-header h3" id="$view-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#$view-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $view        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The view application component that is used to render various view files.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-base-view.html">yii\base\View</a>|<a href="yii-web-view.html">yii\web\View</a></span> <strong><a href="yii-base-application.html#getView()-detail">getView</a></strong> ( )</div>

</div>
<h2>Method Details</h2>

<div class="method-doc">

    <div class="detail-header h3" id="__construct()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#__construct()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L195" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L195" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        __construct()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Constructor.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#__construct()-detail">__construct</a></strong> ( <span style="color: #0000BB">$config&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$config</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Name-value pairs that will be used to initialize the object properties.
Note that the configuration must contain both <a href="yii-base-module.html#$id-detail">$id</a> and <a href="yii-base-module.html#$basePath-detail">$basePath</a>.</p>
</td>
                </tr>
                                                    <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if either <a href="yii-base-module.html#$id-detail">$id</a> or <a href="yii-base-module.html#$basePath-detail">$basePath</a> configuration is missing.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="bootstrap()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#bootstrap()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L275" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L275" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        bootstrap()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Initializes extensions and executes bootstrap components.</strong></p>

        <p>This method is called by <a href="yii-base-application.html#init()-detail">init()</a> after the application has been fully configured.
If you override this method, make sure you also call the parent implementation.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#bootstrap()-detail">bootstrap</a></strong> ( )</td></tr>
            </table>

<!--	-->

    <div class="detail-header h3" id="coreComponents()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#coreComponents()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L616" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L616" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        coreComponents()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the configuration of core application components.</strong></p>

        
        <p>See also <a href="yii-di-servicelocator.html#set()-detail">set()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#coreComponents()-detail">coreComponents</a></strong> ( )</td></tr>
            </table>

<!--	-->

    <div class="detail-header h3" id="end()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#end()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L638" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L638" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        end()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Terminates the application.</strong></p>

        <p>This method replaces the <code>exit()</code> function by ensuring the application life cycle is completed
before terminating the application.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#end()-detail">end</a></strong> ( <span style="color: #0000BB">$status&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span>, <span style="color: #0000BB">$response&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$status</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.integer">integer</a></td>
                  <td class="param-desc-col"><p>The exit status (value 0 means normal exit while other values mean abnormal exit).</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$response</span></td>
                  <td class="param-type-col"><a href="yii-base-response.html">yii\base\Response</a></td>
                  <td class="param-desc-col"><p>The response to be sent. If not set, the default application <a href="yii-base-application.html#$response-detail">$response</a> component will be used.</p>
</td>
                </tr>
                                                    <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-exitexception.html">yii\base\ExitException</a></td>
                  <td class="param-desc-col"><p>if the application is in testing mode</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getAssetManager()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getAssetManager()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L598" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L598" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAssetManager()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the asset manager.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-assetmanager.html">yii\web\AssetManager</a></span> <strong><a href="yii-base-application.html#getAssetManager()-detail">getAssetManager</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-assetmanager.html">yii\web\AssetManager</a></td>
                  <td class="param-desc-col"><p>The asset manager application component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getAuthManager()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getAuthManager()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L589" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L589" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAuthManager()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the auth manager for this application.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-rbac-managerinterface.html">yii\rbac\ManagerInterface</a></span> <strong><a href="yii-base-application.html#getAuthManager()-detail">getAuthManager</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-rbac-managerinterface.html">yii\rbac\ManagerInterface</a></td>
                  <td class="param-desc-col"><p>The auth manager application component.
Null is returned if auth manager is not configured.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getCache()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getCache()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L516" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L516" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getCache()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the cache component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-caching-cache.html">yii\caching\Cache</a></span> <strong><a href="yii-base-application.html#getCache()-detail">getCache</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-caching-cache.html">yii\caching\Cache</a></td>
                  <td class="param-desc-col"><p>The cache application component. Null if the component is not enabled.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getDb()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getDb()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L489" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L489" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getDb()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the database connection component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-db-connection.html">yii\db\Connection</a></span> <strong><a href="yii-base-application.html#getDb()-detail">getDb</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-db-connection.html">yii\db\Connection</a></td>
                  <td class="param-desc-col"><p>The database connection.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getErrorHandler()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getErrorHandler()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L507" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L507" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getErrorHandler()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the error handler component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-errorhandler.html">yii\web\ErrorHandler</a>|<a href="yii-console-errorhandler.html">yii\console\ErrorHandler</a></span> <strong><a href="yii-base-application.html#getErrorHandler()-detail">getErrorHandler</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-errorhandler.html">yii\web\ErrorHandler</a>|<a href="yii-console-errorhandler.html">yii\console\ErrorHandler</a></td>
                  <td class="param-desc-col"><p>The error handler application component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getFormatter()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getFormatter()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L525" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L525" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getFormatter()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the formatter component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-i18n-formatter.html">yii\i18n\Formatter</a></span> <strong><a href="yii-base-application.html#getFormatter()-detail">getFormatter</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-i18n-formatter.html">yii\i18n\Formatter</a></td>
                  <td class="param-desc-col"><p>The formatter application component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getI18n()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getI18n()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L570" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L570" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getI18n()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the internationalization (i18n) component</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-i18n-i18n.html">yii\i18n\I18N</a></span> <strong><a href="yii-base-application.html#getI18n()-detail">getI18n</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-i18n-i18n.html">yii\i18n\I18N</a></td>
                  <td class="param-desc-col"><p>The internationalization application component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getLog()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getLog()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L498" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L498" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getLog()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the log dispatcher component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-log-dispatcher.html">yii\log\Dispatcher</a></span> <strong><a href="yii-base-application.html#getLog()-detail">getLog</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-log-dispatcher.html">yii\log\Dispatcher</a></td>
                  <td class="param-desc-col"><p>The log dispatcher application component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getMailer()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getMailer()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L579" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L579" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getMailer()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the mailer component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-mail-mailerinterface.html">yii\mail\MailerInterface</a></span> <strong><a href="yii-base-application.html#getMailer()-detail">getMailer</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-mail-mailerinterface.html">yii\mail\MailerInterface</a></td>
                  <td class="param-desc-col"><p>The mailer application component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getRequest()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getRequest()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L534" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L534" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getRequest()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the request component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-request.html">yii\web\Request</a>|<a href="yii-console-request.html">yii\console\Request</a></span> <strong><a href="yii-base-application.html#getRequest()-detail">getRequest</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-request.html">yii\web\Request</a>|<a href="yii-console-request.html">yii\console\Request</a></td>
                  <td class="param-desc-col"><p>The request component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getResponse()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getResponse()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L543" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L543" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getResponse()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the response component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-response.html">yii\web\Response</a>|<a href="yii-console-response.html">yii\console\Response</a></span> <strong><a href="yii-base-application.html#getResponse()-detail">getResponse</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-response.html">yii\web\Response</a>|<a href="yii-console-response.html">yii\console\Response</a></td>
                  <td class="param-desc-col"><p>The response component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getRuntimePath()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getRuntimePath()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L413" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L413" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getRuntimePath()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the directory that stores runtime files.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getRuntimePath()-detail">getRuntimePath</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The directory that stores runtime files.
Defaults to the "runtime" subdirectory under <a href="yii-base-module.html#$basePath-detail">$basePath</a>.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getSecurity()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getSecurity()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L607" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L607" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getSecurity()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the security component.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-base-security.html">yii\base\Security</a></span> <strong><a href="yii-base-application.html#getSecurity()-detail">getSecurity</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-base-security.html">yii\base\Security</a></td>
                  <td class="param-desc-col"><p>The security application component.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getTimeZone()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getTimeZone()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L468" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L468" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getTimeZone()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the time zone used by this application.</strong></p>

        <p>This is a simple wrapper of PHP function date_default_timezone_get().
If time zone is not configured in php.ini or application config,
it will be set to UTC by default.</p>

        <p>See also <a href="http://php.net/manual/en/function.date-default-timezone-get.php">http://php.net/manual/en/function.date-default-timezone-get.php</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getTimeZone()-detail">getTimeZone</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The time zone used by this application.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getUniqueId()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getUniqueId()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L344" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L344" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getUniqueId()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns an ID that uniquely identifies this module among all modules within the current application.</strong></p>

        <p>Since this is an application instance, it will always return an empty string.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getUniqueId()-detail">getUniqueId</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The unique ID of the module.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getUrlManager()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getUrlManager()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L561" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L561" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getUrlManager()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the URL manager for this application.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-urlmanager.html">yii\web\UrlManager</a></span> <strong><a href="yii-base-application.html#getUrlManager()-detail">getUrlManager</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-urlmanager.html">yii\web\UrlManager</a></td>
                  <td class="param-desc-col"><p>The URL manager for this application.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getVendorPath()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getVendorPath()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L439" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L439" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getVendorPath()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the directory that stores vendor files.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-base-application.html#getVendorPath()-detail">getVendorPath</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The directory that stores vendor files.
Defaults to "vendor" directory under <a href="yii-base-module.html#$basePath-detail">$basePath</a>.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getView()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#getView()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L552" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L552" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getView()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the view object.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-base-view.html">yii\base\View</a>|<a href="yii-web-view.html">yii\web\View</a></span> <strong><a href="yii-base-application.html#getView()-detail">getView</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-base-view.html">yii\base\View</a>|<a href="yii-web-view.html">yii\web\View</a></td>
                  <td class="param-desc-col"><p>The view application component that is used to render various view files.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="handleRequest()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#handleRequest()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L404" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L404" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        handleRequest()
        <span class="detail-header-tag small">
            public            abstract                        method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Handles the specified request.</strong></p>

        <p>This method should return an instance of <a href="yii-base-response.html">yii\base\Response</a> or its child class
which represents the handling result of the request.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public abstract</span> <span class="signature-type"><a href="yii-base-response.html">yii\base\Response</a></span> <strong><a href="yii-base-application.html#handleRequest()-detail">handleRequest</a></strong> ( <span style="color: #0000BB">$request</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$request</span></td>
                  <td class="param-type-col"><a href="yii-base-request.html">yii\base\Request</a></td>
                  <td class="param-desc-col"><p>The request to be handled</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-base-response.html">yii\base\Response</a></td>
                  <td class="param-desc-col"><p>The resulting response</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="init()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#init()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L264" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L264" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        init()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Initializes the module.</strong></p>

        <p>This method is called after the module is created and initialized with property values
given in configuration. The default implementation will initialize <a href="yii-base-application.html#$controllerNamespace-detail">$controllerNamespace</a>
if it is not set.</p>
<p>If you override this method, please make sure you call the parent implementation.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#init()-detail">init</a></strong> ( )</td></tr>
            </table>

<!--	-->

    <div class="detail-header h3" id="preInit()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#preInit()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L217" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L217" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        preInit()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Pre-initializes the application.</strong></p>

        <p>This method is called at the beginning of the application constructor.
It initializes several important application properties.
If you override this method, please make sure you call the parent implementation.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#preInit()-detail">preInit</a></strong> ( <b>&</b><span style="color: #0000BB">$config</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$config</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The application configuration</p>
</td>
                </tr>
                                                    <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if either <a href="yii-base-module.html#$id-detail">$id</a> or <a href="yii-base-module.html#$basePath-detail">$basePath</a> configuration is missing.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="registerErrorHandler()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#registerErrorHandler()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L326" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L326" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        registerErrorHandler()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Registers the errorHandler component as a PHP error handler.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#registerErrorHandler()-detail">registerErrorHandler</a></strong> ( <b>&</b><span style="color: #0000BB">$config</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$config</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Application config</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="run()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#run()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L367" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L367" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        run()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Runs the application.</strong></p>

        <p>This is the main entrance of an application.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a></span> <strong><a href="yii-base-application.html#run()-detail">run</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.integer">integer</a></td>
                  <td class="param-desc-col"><p>The exit status (0 means normal, non-zero values mean abnormal)</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setBasePath()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#setBasePath()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L356" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L356" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setBasePath()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the root directory of the application and the @app alias.</strong></p>

        <p>This method can only be invoked at the beginning of the constructor.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#setBasePath()-detail">setBasePath</a></strong> ( <span style="color: #0000BB">$path</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$path</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The root directory of the application.</p>
</td>
                </tr>
                                                    <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidparamexception.html">yii\base\InvalidParamException</a></td>
                  <td class="param-desc-col"><p>if the directory does not exist.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="setRuntimePath()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#setRuntimePath()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L426" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L426" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setRuntimePath()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the directory that stores runtime files.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#setRuntimePath()-detail">setRuntimePath</a></strong> ( <span style="color: #0000BB">$path</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$path</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The directory that stores runtime files.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setTimeZone()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#setTimeZone()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L480" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L480" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setTimeZone()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the time zone used by this application.</strong></p>

        <p>This is a simple wrapper of PHP function date_default_timezone_set().
Refer to the <a href="http://www.php.net/manual/en/timezones.php">php manual</a> for available timezones.</p>

        <p>See also <a href="http://php.net/manual/en/function.date-default-timezone-set.php">http://php.net/manual/en/function.date-default-timezone-set.php</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#setTimeZone()-detail">setTimeZone</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The time zone used by this application.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setVendorPath()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#setVendorPath()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L452" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L452" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setVendorPath()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the directory that stores vendor files.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-base-application.html#setVendorPath()-detail">setVendorPath</a></strong> ( <span style="color: #0000BB">$path</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$path</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The directory that stores vendor files.</p>
</td>
                </tr>
                                                </table>

<!--	-->
</div>
    <h2>Event Details</h2>

<div class="event-doc">
    <div class="detail-header h3" id="EVENT_AFTER_REQUEST-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#EVENT_AFTER_REQUEST-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L55" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L55" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        EVENT_AFTER_REQUEST        <span class="detail-header-tag small">
        event
        of type <a href="yii-base-event.html">yii\base\Event</a>                </span>
    </div>

    <div class="doc-description">
        <p>An event raised after the application successfully handles a request (before the response is sent out).</p>

            </div>

    <div class="detail-header h3" id="EVENT_BEFORE_REQUEST-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-base-application.html#EVENT_BEFORE_REQUEST-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/base/Application.php#L51" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L51" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        EVENT_BEFORE_REQUEST        <span class="detail-header-tag small">
        event
        of type <a href="yii-base-event.html">yii\base\Event</a>                </span>
    </div>

    <div class="doc-description">
        <p>An event raised before the application starts to handle a request.</p>

            </div>

</div>
    </div>
</div>

<script type="text/javascript">
    /*<![CDATA[*/
    $("a.toggle").on('click', function () {
        var $this = $(this);
        if ($this.hasClass('properties-hidden')) {
            $this.text($this.text().replace(/Show/,'Hide'));
            $this.parents(".summary").find(".inherited").show();
            $this.removeClass('properties-hidden');
        } else {
            $this.text($this.text().replace(/Hide/,'Show'));
            $this.parents(".summary").find(".inherited").hide();
            $this.addClass('properties-hidden');
        }

        return false;
    });
    /*
     $(".sourceCode a.show").toggle(function () {
     $(this).text($(this).text().replace(/show/,'hide'));
     $(this).parents(".sourceCode").find("div.code").show();
     },function () {
     $(this).text($(this).text().replace(/hide/,'show'));
     $(this).parents(".sourceCode").find("div.code").hide();
     });
     $("a.sourceLink").click(function () {
     $(this).attr('target','_blank');
     });
     */
    /*]]>*/
</script>


</div>

<footer class="footer">
        <p class="pull-right"><small>Page generated on Sat, 09 Jul 2016 12:15:38 +0000</small></p>
    Powered by <a href="http://www.yiiframework.com/" rel="external">Yii Framework</a></footer>

<script type="text/javascript">jQuery(document).ready(function () {
    var shiftWindow = function () { scrollBy(0, -50) };
    if (location.hash) setTimeout(shiftWindow, 1);
    window.addEventListener("hashchange", shiftWindow);
var element = document.createElement("script");
element.src = "./jssearch.index.js";
document.body.appendChild(element);

var searchBox = $('#searchbox');

// search when typing in search field
searchBox.on("keyup", function(event) {
    var query = $(this).val();

    if (query == '' || event.which == 27) {
        $('#search-resultbox').hide();
        return;
    } else if (event.which == 13) {
        var selectedLink = $('#search-resultbox a.selected');
        if (selectedLink.length != 0) {
            document.location = selectedLink.attr('href');
            return;
        }
    } else if (event.which == 38 || event.which == 40) {
        $('#search-resultbox').show();

        var selected = $('#search-resultbox a.selected');
        if (selected.length == 0) {
            $('#search-results').find('a').first().addClass('selected');
        } else {
            var next;
            if (event.which == 40) {
                next = selected.parent().next().find('a').first();
            } else {
                next = selected.parent().prev().find('a').first();
            }
            if (next.length != 0) {
                var resultbox = $('#search-results');
                var position = next.position();

//              TODO scrolling is buggy and jumps around
//                resultbox.scrollTop(Math.floor(position.top));
//                console.log(position.top);

                selected.removeClass('selected');
                next.addClass('selected');
            }
        }

        return;
    }
    $('#search-resultbox').show();
    $('#search-results').html('<li><span class="no-results">No results</span></li>');

    var result = jssearch.search(query);

    if (result.length > 0) {
        var i = 0;
        var resHtml = '';

        for (var key in result) {
            if (i++ > 20) {
                break;
            }
            resHtml = resHtml +
            '<li><a href="' + result[key].file.u.substr(3) +'"><span class="title">' + result[key].file.t + '</span>' +
            '<span class="description">' + result[key].file.d + '</span></a></li>';
        }
        $('#search-results').html(resHtml);
    }
});

// hide the search results on ESC
$(document).on("keyup", function(event) { if (event.which == 27) { $('#search-resultbox').hide(); } });
// hide search results on click to document
$(document).bind('click', function (e) { $('#search-resultbox').hide(); });
// except the following:
searchBox.bind('click', function(e) { e.stopPropagation(); });
$('#search-resultbox').bind('click', function(e) { e.stopPropagation(); });

});</script></body>
</html>
